<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css">
  <link rel="stylesheet"
    href="https://at.alicdn.com/t/c/font_4001111_4jrdiaeyvuy.css?spm=a313x.7781069.1998910419.52&file=font_4001111_4jrdiaeyvuy.css">
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/bootstrap-icons/1.10.3/font/bootstrap-icons.min.css">
  <link rel="stylesheet" href="styles.css">
  <title>答题排行榜</title>
</head>

<body>

  <div class="wrap">
    <!-- 侧边栏 -->
    <div class="aside">
      <h2>英雄站</h2>
      <ul class="nav">
        <li>
          <a href="../content/index.html">
            <span class="iconfont icon-16"></span>
            <span>内容管理</span>
          </a>
        </li>
        <li>
          <a href="../publish/index.html">
            <span class="iconfont icon-fabu"></span>
            <span>添加内容</span>
          </a>
        </li>
        <li>
          <a href="../analysis/index.html">
            <span class="iconfont icon-16"></span>
            <span>评论反馈</span>
          </a>
        </li>
        <li>
          <a href="#" class="active">
            <span class="iconfont icon-16"></span>
            <span>答题排行</span>
          </a>
        </li>
      </ul>
    </div>
    <!-- 右侧区域 -->
    <div class="main">
      <!-- 顶部导航 -->
      <div class="top-nav">
        <div class="nav-item">
          <span class="nick-name">邑腚能行队</span>
          <span class="quit">退出</span>
        </div>
      </div>
      <!-- 内容区域 -->
      <div class="content">
        <!-- 发布文章 -->
        <div class="card">
          <div class="title">
            <span>答题排行榜</span>
          </div>
          <div class="body">
            <table id="scoreTable">
              <thead>
                <tr>
                  <th>排名</th>
                  <th>用户 ID</th>
                  <th>用户名</th>
                  <th>分数</th>
                </tr>
              </thead>
              <tbody>
                <!-- 这里会通过JavaScript动态添加用户反馈数据 -->
              </tbody>
            </table>
            <div class="pagination">
              <span class="last">上一页</span>
              <span class="page-now">第 1 页</span>
              <span class="next">下一页</span>
              <span class="total-count page-now">共0条</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <% if(htmlWebpackPlugin.options.useCdn){ %>
    <!-- 使用和 package.json 中一致的 axios 版本 -->
    <script src="https://cdn.jsdelivr.net/npm/axios@1.7.9/dist/axios.min.js"></script>
    <script src="https://unpkg.com/form-serialize@0.7.2/index.js"></script>
  <% } %>
  <script src="script.js"></script>
</body>

</html>